package payroll.method;

import payroll.PaymentMethod;

public class DirectMethod implements PaymentMethod{

    private String bank;
    private String account;

    public DirectMethod(String bank, String account) {
        this.bank = bank;
        this.account = account;
    }

    public String getBank() {
        return bank;
    }

    public String getAccount() {
        return account;
    }

    // @Override
    // public Object getDisposition() {
    //     return null;
    // }

    @Override
    public String getDisposition() {
        return "DIRECT:"+bank+":"+account;
    }


}
